package com.sysmanage.etl.bo;

import com.sysmanage.etl.model.ETL_Table;

public class TableBO {
	private Boolean exists = true;
	private ETL_Table table;
	private String tableName;

	public TableBO() {
	}

	public TableBO(ETL_Table table) {
		this.table = table;
		this.tableName = table.getTable_name();
	}
	
	public TableBO(ETL_Table table , Boolean exists) {
		this.table = table;
		this.exists = exists;
	}

	public Boolean getExists() {
		return exists;
	}

	public void setExists(Boolean exists) {
		this.exists = exists;
	}

	public ETL_Table getTable() {
		return table;
	}

	public void setTable(ETL_Table table) {
		this.table = table;
		this.tableName = table.getTable_name();
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

}
